<table border="0" cellspasang="0" cellpadding="2">
{if $ci_types}
  <tr>
    <td>
      <table border="0" cellspasang="0" cellpadding="4">
        <tr>
          <td width="22"><img src="img/modules/crystal_icons_small/22x22/msg_question.png" alt="Question icon" /></td>
          <td align="left" valign="middle"><span class="status_warning">This attribute type is used in some content item types. You will not be allowed to delete it until you remove content type attributes of same type. Here is a list of content types that use current attribute type (new window will open on click):</span></td>
        </tr>
        <tr>
        	<td>&nbsp;</td>
        	<td>
{foreach from=$ci_types item=cit}            
<a href="admin/modules/tangra_cms/ci/ci_type_manage.php?manage={$cit->get_id()}" target="_blank">{$cit->get_name()}</a><br />
{/foreach}
            </td>
        </tr>
      </table>
    </td>
  </tr>
{else}  
  <tr>
    <td>
      <table border="0" cellspasang="0" cellpadding="4">
        <tr>
          <td width="22"><img src="img/modules/crystal_icons_small/22x22/msg_question.png" alt="Question icon" /></td>
          <td align="left" valign="middle">Are you sure that you want to <strong>delete</strong> attribute type &quot;{$ci_attr_type->get_name()}&quot;?</td>
        </tr>
      </table>
    </td>
  </tr>
  <tr>
    <td>&nbsp;</td>
  </tr>
  <tr>
    <td align="center">
      <table border="0" cellspasang="0" cellpadding="0">
        <tr>
          <td align="left" height="16" valign="middle">
            <div class="action_yes"><a href="admin/modules/tangra_cms/ci/ci_attr_type_del.php?del_confirmed={$ci_attr_type->get_id()}">Yes</a></div>
          </td>
          <td width="100">&nbsp;</td>
          <td align="right" height="16">
            <div class="action_cancel">
            	<a href="admin/modules/tangra_cms/ci/ci_attr_types.php">Cancel</a>
            </div>
          </td>
        </tr>
      </table>
    </td>
  </tr>
{/if}  
</table>
{if $ci_types}
<br />
<a href="admin/modules/tangra_cms/ci/ci_attr_types.php" class="action_back">Back to attribute types list</a>
{/if}
